export default {
  data() {
    return {
      pagination: {
        total: 100,
        pageSize: 3,
        currentPage: 1
      }
    }
  },
  methods: {
    handleCurChange(page) {
      this.pagination.currentPage = page
      this.getData()
    },
    handleSizeChange(size) {
      this.pagination.pageSize = size
      this.pagination.currentPage = 1
      this.getData()
    }
  }
}
